﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for SortUsers
/// </summary>
public class SortUsers : IComparer<User>
{
    public int Compare(User u1, User u2)
    {
        return (u1.UserID < u2.UserID) ? 1 : ((u1.UserID > u2.UserID) ? -1 : 0);
    }
}